﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpSphinx.Util.Configuration;


namespace SharpSphinx.Linguist
{
    public class LinguistProcessor : IConfigurable 
    {

        public const String PROP_LINGUIST = "Linguist";


        private String name;
        private ILinguist mLinguist; 


        public LinguistProcessor(ILinguist linguist)
        {
            this.mLinguist = linguist; 
        }

        public LinguistProcessor() { }

        public override void newProperties(PropertySheet ps)
        {
           // Linguist = (ILinguist)ps.getComponet(PROP_LINGUIST);
        }

        /// <summary>
        /// Get Name
        /// </summary>
        public String Name
        {
            get
            {
                return name;
            }
        }


        /// <summary>
        /// Returns the configured lingust
        /// </summary>
        protected ILinguist Linguist
        {
            get
            {
                return mLinguist;
            }
        }
        

    }
}
